package com.aier.common.service;

import com.aier.common.entity.Message;

public interface IMessageService {
    
    /**
     * 校验验证码并删除
     * @param phone
     * @param code
     * @return
     */
    Message deleteMessage(String phone,String code);
    
    /**
     * 插入验证码信息
     * @param phone
     * @param code
     * @return
     */
    int insertMessage(String phone,String code);
    
}
